package com.ity.teamanagement.entity.inputParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author coderFu
 * @create 2021/11/10
 */
@ApiModel("更新底部导航参数")
@Data
public class UpdateDownNavigationParam {

    @ApiModelProperty("自增id")
    @NotNull(message = "导航id不能为空")
    @Min(value = 1,message = "导航id必须大于等于1")
    private Integer id;

    @ApiModelProperty("导航图片路径")
    @NotBlank(message = "导航图片路径不能为空")
    private String path;

    @ApiModelProperty("导航名称")
    @NotBlank(message = "导航名称不能为空")
    private String name;

    @ApiModelProperty("导航超链接")
    @NotBlank(message = "导航超链接不能为空")
    private String link;


}
